package com.sl.au.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.sl.au.entity.ViewForEventRegister;
import com.sl.au.entity.ViewForUserScoreAnalysis;

public interface ViewForUserScoreAnalysisRepository extends JpaRepository<ViewForUserScoreAnalysis, String>{

	@Query("select a from ViewForUserScoreAnalysis a where a.userName like %?1% ")
	Page<ViewForUserScoreAnalysis> getByKey(String key, Pageable pageable);
}
